package cn.bandeqing.store.rpc;

import cn.bandeqing.base.resp.Resp;
import cn.bandeqing.base.resp.Table;
import cn.bandeqing.finance.resp.LabelValue;
import cn.bandeqing.finance.resp.LabelValueStr;
import cn.bandeqing.store.req.StoreSaveOrUpdateReq;
import cn.bandeqing.store.req.StoreSelectReq;
import cn.bandeqing.store.req.StoreTableReq;
import cn.bandeqing.store.req.StoreUserSelectReq;
import cn.bandeqing.store.resp.StoreTable;

import java.util.List;

public interface IStoreRpc {

    Resp<Table<StoreTable>> table(StoreTableReq req);

    void saveOrUpdate(StoreSaveOrUpdateReq req);

    Resp<List<LabelValue>> userSelect(StoreUserSelectReq req);

    Resp<List<LabelValue>> select(StoreSelectReq req);

    Resp<List<LabelValueStr>> selectDoyin(StoreSelectReq req);

}
